package com.guoxin.designpattern.chapter4;

/**
 * @author guoxin
 * @date 2019/9/3
 */
public class OctalObserver extends Observer {

    protected OctalObserver(Subject subject) {
        super(subject);
    }

    @Override
    protected void update() {
        System.out.println("Octal observer :" + Integer.toOctalString(subject.getState()));
    }
}
